import MiningMachine from "../pages/miningmachine";
import MiningType from "../pages/miningtype";
import User from "../pages/user";

const router = [
  {
    path:"/user",
    title:"用户管理",
    component:User,
  },
  {
    path:"/miningmachine",
    title:"矿机管理",
    children:[
      {
        path:"/miningmachine/list",
        title:"设备列表",
        component:MiningMachine,
      },
      {
        path:"/miningmachine/type",
        title:"设备类型管理",
        component:MiningType,
      },
    ]
  },
]

export default router